package org.tg.vo.order;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author Glow
 * @Date 2023-06-23 21:28:17
 * @Description 订单派送vo
 * @Version 1.0
 */
@Data
@ApiModel(description = "OrderDeliver（订单派送vo）")
public class OrderDeliverVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "配送日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date deliverDate;

    @ApiModelProperty(value = "团长id")
    private Long leaderId;

    @ApiModelProperty(value = "司机id")
    private Long driverId;

    @ApiModelProperty(value = "司机名称")
    private String driverName;

    @ApiModelProperty(value = "司机电话")
    private String driverPhone;

    @ApiModelProperty(value = "状态（0：默认，1：已发货，2：团长收货）")
    private Integer status;

}